
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Swagger UI</title>
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui.css" >
    <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
    <style>
        html
        {
            box-sizing: border-box;
            overflow: -moz-scrollbars-vertical;
            overflow-y: scroll;
        }
        *,
        *:before,
        *:after
        {
            box-sizing: inherit;
        }

        body {
            margin:0;
            background: #fafafa;
        }
    </style>
</head>

<body>

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0">
    <defs>
        <symbol viewBox="0 0 20 20" id="unlocked">
            <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"></path>
        </symbol>

        <symbol viewBox="0 0 20 20" id="locked">
            <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="close">
            <path d="M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="large-arrow">
            <path d="M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="large-arrow-down">
            <path d="M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"/>
        </symbol>


        <symbol viewBox="0 0 24 24" id="jump-to">
            <path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"/>
        </symbol>

        <symbol viewBox="0 0 24 24" id="expand">
            <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>
        </symbol>

    </defs>
</svg>

<div id="swagger-ui"></div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui-bundle.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui-standalone-preset.js"> </script>
<script>
    window.onload = function() {
        const ui = SwaggerUIBundle({
            spec: {
    "swagger": "2.0",
    "info": {
        "title": "wxpay/proto/service.proto",
        "version": ""
    },
    "schemes": [
        "http",
        "https"
    ],
    "consumes": [
        "application/json",
        "multipart/form-data"
    ],
    "produces": [
        "application/json"
    ],
    "paths": {
        "/api/v1/wxpay/alipay/face-to-face/sign": {
            "post": {
                "summary": "*",
                "description": "支付宝当面付申请重新提交",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.AliFaceToFaceSignResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.AliFaceToFaceSignRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/alipay/sign": {
            "get": {
                "summary": "*",
                "description": "支付宝当面付签约查询",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.AliFaceToFaceSignQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "brandId",
                        "description": "品牌id",
                        "in": "query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "bizNo",
                        "description": "业务单号",
                        "in": "query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "alipayAccount",
                        "description": "商户支付宝账号",
                        "in": "query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "authToken",
                        "description": "授权token",
                        "in": "query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "appId",
                        "description": "服务商 appid",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/alipay/sign/status": {
            "get": {
                "summary": "*",
                "description": "支付宝产品签约状态查询",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.AliSignStatusQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pid",
                        "description": "支付宝账号",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "productCodes",
                        "description": "商家签约产品码",
                        "in": "query",
                        "required": true,
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "authToken",
                        "description": "授权token",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "appId",
                        "description": "app id 服务商id",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/applyment/resubmit": {
            "post": {
                "summary": "*",
                "description": "修改申请重新提交",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ApplymentSubmitResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ApplymentSubmitRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/applyment/submit": {
            "post": {
                "summary": "*",
                "description": "提交申请",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ApplymentSubmitResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ApplymentSubmitRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/applyment/{apply_no}": {
            "get": {
                "summary": "*",
                "description": "查询申请详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ApplymentQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "brand_id",
                        "in": "query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "apply_no",
                        "in": "query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "force",
                        "in": "query",
                        "required": false,
                        "type": "boolean"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/image/upload": {
            "post": {
                "summary": "*",
                "description": "图片上传",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ImageUploadResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ImageUploadRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/jsapi-precreate": {
            "post": {
                "summary": "*",
                "description": "JSAPI预下单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.JSAPIPreCreateResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.JSAPIPreCreateRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/mch/balance/withdraw": {
            "post": {
                "summary": "*",
                "description": "二级商户账户提现申请",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SubMchWithdrawResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SubMchWithdrawRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/mch/balance/withdraw/{biz_no}": {
            "get": {
                "summary": "*",
                "description": "二级商户账户提现查询",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SubMchWithdrawQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "biz_no",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "sub_mch_id",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/mch/balance/{sub_mch_id}": {
            "get": {
                "summary": "*",
                "description": "二级商户账户实时余额查询",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SubMchAccountBalanceQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "sub_mch_id",
                        "description": "特约商户号",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "account_type",
                        "description": "账户类型 BASIC：基本账户 OPERATION：运营账户 FEES：手续费账户",
                        "in": "query",
                        "required": false,
                        "type": "integer"
                    },
                    {
                        "name": "mch_id",
                        "description": "服务商商户号",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/mch/settle-account": {
            "get": {
                "summary": "*",
                "description": "查询结算账号",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SettlementAccountQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "sub_mch_id",
                        "description": "特约商户号",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "mch_id",
                        "description": "服务商商户号",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            },
            "post": {
                "summary": "*",
                "description": "修改结算账号",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.OperationResult"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SettlementAccountModifyRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/notify": {
            "post": {
                "summary": "*",
                "description": "回调类通知",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.NotifyResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.NotifyRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/profit-finish/submit": {
            "post": {
                "summary": "*",
                "description": "提交分账完结请求",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ProfitShareFinishResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ProfitShareFinishRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/profit-order/submit": {
            "post": {
                "summary": "*",
                "description": "提交分账请求",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ProfitOrderResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ProfitOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/profit-return/submit": {
            "post": {
                "summary": "*",
                "description": "提交分账回退请求",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ProfitReturnResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ProfitReturnRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/refund/apply": {
            "post": {
                "summary": "*",
                "description": "退款申请",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.RefundApplyResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.RefundApplyRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/schedule/batch-transfer": {
            "get": {
                "summary": "*",
                "description": "检查待发起转账的任务",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.OperationResult"
                        }
                    }
                },
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/schedule/message/check": {
            "get": {
                "summary": "*",
                "description": "检查待发送消息",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.OperationResult"
                        }
                    }
                },
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/trades/{out_trade_no}": {
            "get": {
                "summary": "*",
                "description": "查询trade",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.TradeQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "brand_id",
                        "description": "品牌id",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "out_trade_no",
                        "description": "商户订单编号",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/trades/{out_trade_no}/close": {
            "post": {
                "summary": "*",
                "description": "关闭订单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.OperationResult"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.TradeCloseRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/trades/{out_trade_no}/un-split-amount": {
            "get": {
                "summary": "*",
                "description": "查询订单剩余待分金额",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.UnSplitAmountQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "brand_id",
                        "description": "商户ID",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "out_trade_no",
                        "description": "商户订单号",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/transfer": {
            "get": {
                "summary": "*",
                "description": "转账详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.TransferQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "biz_no",
                        "description": "业务单号 (用作幂等)",
                        "in": "query",
                        "required": true,
                        "type": "string"
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/transfer/apply": {
            "post": {
                "summary": "*",
                "description": "提交转账",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.TransferApplyResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.TransferApplyRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v1/wxpay/wechat/sub_merchant/applyment": {
            "post": {
                "summary": "*",
                "description": "微信特约商户进件申请查询",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SubMchApplymentQueryResponse"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.SubMchApplymentQueryRequest"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/api/v2/wxpay/image/upload": {
            "post": {
                "summary": "*",
                "description": "图片上传v2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ImageUploadV2Response"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.wxpay.ImageUploadV2Request"
                        }
                    }
                ],
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        },
        "/ping": {
            "get": {
                "summary": "*",
                "description": "健康检查",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.wxpay.HealthCheckResp"
                        }
                    }
                },
                "tags": [
                    "wxpay.Wxpay"
                ]
            }
        }
    },
    "definitions": {
        ".google.protobuf.Empty": {
            "type": "object",
            "properties": {},
            "description": "A generic empty message that you can re-use to avoid defining duplicated\n empty messages in your APIs. A typical example is to use it as the request\n or the response type of an API method. For instance:\n\n     service Foo {\n       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n     }\n\n The JSON representation for `Empty` is empty JSON object `{}`."
        },
        ".wxpay.AccountInfo": {
            "type": "object",
            "properties": {
                "bank_account_type": {
                    "type": "string",
                    "description": "账户类型"
                },
                "account_bank": {
                    "type": "string",
                    "description": "开户银行"
                },
                "account_name": {
                    "type": "string",
                    "description": "开户名称"
                },
                "bank_address_code": {
                    "type": "string",
                    "description": "开户银行省市编码"
                },
                "bank_branch_id": {
                    "type": "string",
                    "description": "开户银行联行号"
                },
                "bank_name": {
                    "type": "string",
                    "description": "开户银行全称 （含支行）"
                },
                "account_number": {
                    "type": "string",
                    "description": "银行帐号"
                }
            },
            "required": [
                "bank_account_type",
                "account_bank",
                "account_name",
                "bank_address_code",
                "account_number"
            ]
        },
        ".wxpay.AccountValidation": {
            "type": "object",
            "properties": {
                "account_name": {
                    "type": "string",
                    "description": "付款户名"
                },
                "account_no": {
                    "type": "string",
                    "description": "付款卡号"
                },
                "pay_amount": {
                    "type": "string",
                    "description": "汇款金额 （以分为单位）"
                },
                "destination_account_number": {
                    "type": "string",
                    "description": "收款卡号"
                },
                "destination_account_name": {
                    "type": "string",
                    "description": "收款户名"
                },
                "destination_account_bank": {
                    "type": "string",
                    "description": "开户银行"
                },
                "city": {
                    "type": "string",
                    "description": "省市信息"
                },
                "remark": {
                    "type": "string",
                    "description": "备注信息"
                },
                "deadline": {
                    "type": "string",
                    "description": "汇款截止时间"
                }
            },
            "description": "汇款账户验证信息"
        },
        ".wxpay.AdditionInfo": {
            "type": "object",
            "properties": {
                "legalPersonCommitment": {
                    "type": "string",
                    "description": "法人开户承诺函"
                },
                "legalPersonVideo": {
                    "type": "string",
                    "description": "法人开户意愿视频"
                },
                "businessAdditionPics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "补充材料"
                },
                "businessAdditionMsg": {
                    "type": "string",
                    "description": "补充说明"
                },
                "legalPersonCommitmentUrl": {
                    "type": "string",
                    "description": "法人开户承诺函  (返回值有)"
                },
                "businessAdditionPicsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "补充材料 (返回值有)"
                }
            }
        },
        ".wxpay.AliFaceToFaceSignQueryRequest": {
            "type": "object",
            "properties": {
                "brandId": {
                    "type": "string",
                    "description": "品牌id"
                },
                "bizNo": {
                    "type": "string",
                    "description": "业务单号"
                },
                "alipayAccount": {
                    "type": "string",
                    "description": "商户支付宝账号"
                },
                "authToken": {
                    "type": "string",
                    "description": "授权token"
                },
                "appId": {
                    "type": "string",
                    "description": "服务商 appid"
                }
            },
            "description": "支付当面付查询请求",
            "required": [
                "appId"
            ]
        },
        ".wxpay.AliFaceToFaceSignQueryResponse": {
            "type": "object",
            "properties": {
                "applyNo": {
                    "type": "string",
                    "description": "申请单号"
                },
                "brandId": {
                    "type": "string",
                    "description": "品牌id"
                },
                "alipayAccount": {
                    "type": "string",
                    "description": "阿里账号"
                },
                "contactName": {
                    "type": "string",
                    "description": "联系人名称"
                },
                "contactMobile": {
                    "type": "string",
                    "description": "联系人手机号"
                },
                "contactEmail": {
                    "type": "string",
                    "description": "联系人邮箱"
                },
                "mccCode": {
                    "type": "string",
                    "description": "商家经营类目"
                },
                "specialLicensePic": {
                    "type": "string",
                    "description": "企业特殊资质图片"
                },
                "specialLicensePicUrl": {
                    "type": "string",
                    "description": "企业特殊资质图片地址"
                },
                "rate": {
                    "type": "string",
                    "description": "服务费率"
                },
                "signAndAuth": {
                    "type": "boolean",
                    "description": "签约且授权操作"
                },
                "businessLicenseNo": {
                    "type": "string",
                    "description": "营业执照号码"
                },
                "businessLicensePic": {
                    "type": "string",
                    "description": "营业执照图片"
                },
                "businessLicensePicUrl": {
                    "type": "string",
                    "description": "营业执照图片地址"
                },
                "businessLicenseAuthPic": {
                    "type": "string",
                    "description": "营业执照授权函图片"
                },
                "businessLicenseAuthPicUrl": {
                    "type": "string",
                    "description": "营业执照授权函图片地址"
                },
                "longTerm": {
                    "type": "boolean",
                    "description": "是否长期有效"
                },
                "dateLimitation": {
                    "type": "string",
                    "description": "营业期限"
                },
                "shopScenePic": {
                    "type": "string",
                    "description": "店铺内景照片"
                },
                "shopScenePicUrl": {
                    "type": "string",
                    "description": "店铺内景照片地址"
                },
                "shopSignBoardPic": {
                    "type": "string",
                    "description": "店铺门头照片"
                },
                "shopSignBoardPicUrl": {
                    "type": "string",
                    "description": "店铺门头照片地址"
                },
                "applyState": {
                    "type": "string",
                    "description": "申请状态"
                },
                "applyStateDesc": {
                    "type": "string",
                    "description": "申请状态描述"
                },
                "confirmUrl": {
                    "type": "string",
                    "description": "确认签约连接"
                },
                "rejectReason": {
                    "type": "string",
                    "description": "审核失败原因"
                }
            },
            "description": "支付当面付查询结果"
        },
        ".wxpay.AliFaceToFaceSignRequest": {
            "type": "object",
            "properties": {
                "brandId": {
                    "type": "string",
                    "description": "品牌id"
                },
                "bizNo": {
                    "type": "string",
                    "description": "业务申请单号"
                },
                "alipayAccount": {
                    "type": "string",
                    "description": "商户支付宝账号"
                },
                "contactName": {
                    "type": "string",
                    "description": "联系人名称"
                },
                "contactMobile": {
                    "type": "string",
                    "description": "联系人手机号"
                },
                "contactEmail": {
                    "type": "string",
                    "description": "联系人邮箱"
                },
                "mccCode": {
                    "type": "string",
                    "description": "商家经营类目"
                },
                "specialLicensePic": {
                    "type": "string",
                    "description": "企业特殊资质图片"
                },
                "rate": {
                    "type": "string",
                    "description": "服务费率"
                },
                "signAndAuth": {
                    "type": "boolean",
                    "description": "签约且授权操作"
                },
                "businessLicenseNo": {
                    "type": "string",
                    "description": "营业执照号码"
                },
                "businessLicensePic": {
                    "type": "string",
                    "description": "营业执照图片"
                },
                "businessLicenseAuthPic": {
                    "type": "string",
                    "description": "营业执照授权函图片"
                },
                "longTerm": {
                    "type": "boolean",
                    "description": "是否长期有效"
                },
                "dateLimitation": {
                    "type": "string",
                    "description": "营业期限"
                },
                "shopScenePic": {
                    "type": "string",
                    "description": "店铺内景照片"
                },
                "shopSignBoardPic": {
                    "type": "string",
                    "description": "店铺门头照片"
                },
                "empId": {
                    "type": "string",
                    "description": "申请人id"
                },
                "authToken": {
                    "type": "string",
                    "description": "授权token"
                },
                "appId": {
                    "type": "string",
                    "description": "服务商 appid"
                }
            },
            "description": "支付宝当面付申请",
            "required": [
                "brandId",
                "alipayAccount",
                "contactName",
                "contactMobile",
                "contactEmail",
                "mccCode",
                "appId"
            ]
        },
        ".wxpay.AliFaceToFaceSignResponse": {
            "type": "object",
            "properties": {
                "brandId": {
                    "type": "string",
                    "description": "品牌id"
                },
                "applyNo": {
                    "type": "string",
                    "description": "申请单号"
                },
                "alipayAccount": {
                    "type": "string",
                    "description": "商户支付宝账号"
                },
                "applyState": {
                    "type": "string",
                    "description": "申请状态"
                },
                "applyStateDesc": {
                    "type": "string",
                    "description": "申请状态描述"
                }
            },
            "description": "支付宝当面付申请返回"
        },
        ".wxpay.AliSignStatus": {
            "type": "object",
            "properties": {
                "productName": {
                    "type": "string",
                    "description": "产品名称"
                },
                "productCode": {
                    "type": "string",
                    "description": "产品编码"
                },
                "status": {
                    "type": "string",
                    "description": "状态"
                },
                "statusDesc": {
                    "type": "string",
                    "description": "状态描述"
                }
            }
        },
        ".wxpay.AliSignStatusQueryRequest": {
            "type": "object",
            "properties": {
                "pid": {
                    "type": "string",
                    "description": "支付宝账号"
                },
                "productCodes": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "商家签约产品码"
                },
                "authToken": {
                    "type": "string",
                    "description": "授权token"
                },
                "appId": {
                    "type": "string",
                    "description": "app id 服务商id"
                }
            },
            "description": "签约状态查询请求",
            "required": [
                "pid",
                "productCodes",
                "authToken",
                "appId"
            ]
        },
        ".wxpay.AliSignStatusQueryResponse": {
            "type": "object",
            "properties": {
                "signStatusList": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.wxpay.AliSignStatus"
                    }
                }
            },
            "description": "签约状态查询返回"
        },
        ".wxpay.AmountInfo": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "总金额"
                },
                "currency": {
                    "type": "string",
                    "description": "货币类型"
                }
            },
            "required": [
                "total"
            ]
        },
        ".wxpay.AppInfo": {
            "type": "object",
            "properties": {
                "appAppId": {
                    "type": "string",
                    "description": "服务商应用APPID"
                },
                "appSubAppId": {
                    "type": "string",
                    "description": "商家应用 appid"
                },
                "appPics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "应用页面截图"
                },
                "appPicsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "截图地址  (返回值有)"
                }
            },
            "required": [
                "appPics"
            ]
        },
        ".wxpay.ApplymentQueryRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string"
                },
                "apply_no": {
                    "type": "string"
                },
                "force": {
                    "type": "boolean"
                }
            },
            "description": "品牌维度查询进件申请详情"
        },
        ".wxpay.ApplymentQueryResponse": {
            "type": "object",
            "properties": {
                "apply_type": {
                    "type": "string",
                    "description": "申请类型"
                },
                "mch_id": {
                    "type": "string",
                    "description": "商户号"
                },
                "organization_type": {
                    "type": "string",
                    "description": "主体类型"
                },
                "biz_license_info": {
                    "$ref": "#/definitions/.wxpay.BizLicenseInfo",
                    "description": "营业执照/登记证书信息"
                },
                "organization_cert_info": {
                    "$ref": "#/definitions/.wxpay.OrganizationCertInfo",
                    "description": "组织机构代码证信息"
                },
                "id_doc_type": {
                    "type": "string",
                    "description": "经营者/法人证件类型"
                },
                "id_card_info": {
                    "$ref": "#/definitions/.wxpay.IDCardInfo",
                    "description": "经营者/法人身份证信息"
                },
                "id_doc_info": {
                    "$ref": "#/definitions/.wxpay.IDDocInfo",
                    "description": "经营者/法人其他类型证件信息"
                },
                "need_account_info": {
                    "type": "boolean",
                    "description": "是否填写结算银行账户"
                },
                "account_info": {
                    "$ref": "#/definitions/.wxpay.AccountInfo",
                    "description": "结算银行账户"
                },
                "contact_info": {
                    "$ref": "#/definitions/.wxpay.ContactInfo",
                    "description": "超级管理员信息"
                },
                "sales_scene_info": {
                    "$ref": "#/definitions/.wxpay.SalesSceneInfo",
                    "description": "店铺信息"
                },
                "merchant_shortname": {
                    "type": "string",
                    "description": "商户简称"
                },
                "qualifications": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "特殊资质"
                },
                "business_addition_pics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "补充材料"
                },
                "business_addition_desc": {
                    "type": "string",
                    "description": "补充说明"
                },
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                },
                "wx_applyment_id": {
                    "type": "string",
                    "description": "微信申请单编号"
                },
                "apply_state": {
                    "type": "string",
                    "description": "申请状态"
                },
                "apply_state_desc": {
                    "type": "string",
                    "description": "申请状态描述"
                },
                "sign_url": {
                    "type": "string",
                    "description": "签约链接"
                },
                "account_validation": {
                    "$ref": "#/definitions/.wxpay.AccountValidation",
                    "description": "汇款账户验证信息"
                },
                "sub_mch_id": {
                    "type": "string",
                    "description": "子商户商户号"
                },
                "audit_details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.wxpay.AuditDetail"
                    },
                    "description": "驳回原因详情"
                },
                "legal_validation_url": {
                    "type": "string",
                    "description": "法人验证链接"
                },
                "create_time": {
                    "type": "string",
                    "description": "创建时间"
                },
                "update_time": {
                    "type": "string",
                    "description": "修改时间"
                },
                "qualifications_url": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "特殊资质照片url"
                },
                "business_addition_pics_url": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "补充材料照片url"
                }
            },
            "description": "品牌维度查询进件申请详情返回"
        },
        ".wxpay.ApplymentSubmitRequest": {
            "type": "object",
            "properties": {
                "apply_type": {
                    "type": "string",
                    "description": "申请类型,oneof='ecommerce' 'apply4sub'"
                },
                "mch_id": {
                    "type": "string",
                    "description": "商户号"
                },
                "organization_type": {
                    "type": "string",
                    "description": "主体类型"
                },
                "biz_license_info": {
                    "$ref": "#/definitions/.wxpay.BizLicenseInfo",
                    "description": "营业执照/登记证书信息"
                },
                "organization_cert_info": {
                    "$ref": "#/definitions/.wxpay.OrganizationCertInfo",
                    "description": "组织机构代码证信息"
                },
                "id_doc_type": {
                    "type": "string",
                    "description": "经营者/法人证件类型"
                },
                "id_card_info": {
                    "$ref": "#/definitions/.wxpay.IDCardInfo",
                    "description": "经营者/法人身份证信息"
                },
                "id_doc_info": {
                    "$ref": "#/definitions/.wxpay.IDDocInfo",
                    "description": "经营者/法人其他类型证件信息"
                },
                "need_account_info": {
                    "type": "boolean",
                    "description": "是否填写结算银行账户"
                },
                "account_info": {
                    "$ref": "#/definitions/.wxpay.AccountInfo",
                    "description": "结算银行账户"
                },
                "contact_info": {
                    "$ref": "#/definitions/.wxpay.ContactInfo",
                    "description": "超级管理员信息"
                },
                "sales_scene_info": {
                    "$ref": "#/definitions/.wxpay.SalesSceneInfo",
                    "description": "店铺信息"
                },
                "merchant_shortname": {
                    "type": "string",
                    "description": "商户简称"
                },
                "qualifications": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "特殊资质,max=5"
                },
                "business_addition_pics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "补充材料,max=5"
                },
                "business_addition_desc": {
                    "type": "string",
                    "description": "补充说明"
                },
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                },
                "biz_apply_no": {
                    "type": "string",
                    "description": "业务编号(幂等)"
                }
            },
            "description": "提交申请",
            "required": [
                "apply_type",
                "mch_id",
                "organization_type",
                "id_doc_type",
                "contact_info",
                "sales_scene_info",
                "merchant_shortname",
                "brand_id",
                "biz_apply_no"
            ]
        },
        ".wxpay.ApplymentSubmitResponse": {
            "type": "object",
            "properties": {
                "apply_no": {
                    "type": "string",
                    "description": "申请编号"
                }
            },
            "description": "提交申请返回"
        },
        ".wxpay.AuditDetail": {
            "type": "object",
            "properties": {
                "param_name": {
                    "type": "string",
                    "description": "参数名称"
                },
                "reject_reason": {
                    "type": "string",
                    "description": "驳回原因"
                }
            },
            "description": "驳回原因详情"
        },
        ".wxpay.BizLicenseInfo": {
            "type": "object",
            "properties": {
                "business_license_copy": {
                    "type": "string",
                    "description": "证件扫描件 - MediaID"
                },
                "business_license_number": {
                    "type": "string",
                    "description": "证件注册号"
                },
                "merchant_name": {
                    "type": "string",
                    "description": "商户名称"
                },
                "legal_person": {
                    "type": "string",
                    "description": "经营者/法定代表人姓名"
                },
                "company_address": {
                    "type": "string",
                    "description": "注册地址"
                },
                "business_time": {
                    "type": "string",
                    "description": "营业期限"
                },
                "copy_url": {
                    "type": "string",
                    "description": "证件照片url (返回值有)"
                }
            },
            "required": [
                "business_license_copy",
                "business_license_number",
                "merchant_name",
                "legal_person"
            ]
        },
        ".wxpay.BizStoreInfo": {
            "type": "object",
            "properties": {
                "bizStoreName": {
                    "type": "string",
                    "description": "门店名称"
                },
                "bizAddressCode": {
                    "type": "string",
                    "description": "门店省市编码"
                },
                "bizStoreAddress": {
                    "type": "string",
                    "description": "门店地址"
                },
                "storeEntrancePic": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "门店门头照片"
                },
                "indoorPic": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "门店店内环境照片"
                },
                "bizSubAppId": {
                    "type": "string",
                    "description": "先下场所对应商家appid"
                },
                "storeEntrancePicUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "门头照片地址  (返回值有)"
                },
                "indoorPicUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "门店店内环境照片  (返回值有)"
                }
            },
            "required": [
                "bizStoreName",
                "bizAddressCode",
                "bizStoreAddress",
                "storeEntrancePic",
                "indoorPic"
            ]
        },
        ".wxpay.BusinessInfo": {
            "type": "object",
            "properties": {
                "merchantShortname": {
                    "type": "string",
                    "description": "商户简称"
                },
                "servicePhone": {
                    "type": "string",
                    "description": "客服电话"
                },
                "salesInfo": {
                    "$ref": "#/definitions/.wxpay.SalesInfo",
                    "description": "salesInfo"
                }
            },
            "description": "经营资料",
            "required": [
                "merchantShortname",
                "servicePhone"
            ]
        },
        ".wxpay.BusinessLicenseInfo": {
            "type": "object",
            "properties": {
                "licenseCopy": {
                    "type": "string",
                    "description": "营业执照照片"
                },
                "licenseNumber": {
                    "type": "string",
                    "description": "注册号/统一社会信用代码"
                },
                "merchantName": {
                    "type": "string",
                    "description": "商户名称"
                },
                "legalPerson": {
                    "type": "string",
                    "description": "个体户经营者/法人姓名"
                },
                "licenseCopyUrl": {
                    "type": "string",
                    "description": "营业执照照片 (返回值有)"
                }
            },
            "required": [
                "licenseCopy",
                "licenseNumber",
                "merchantName",
                "legalPerson"
            ]
        },
        ".wxpay.CertificateInfo": {
            "type": "object",
            "properties": {
                "certCopy": {
                    "type": "string",
                    "description": "登记证书照片"
                },
                "certType": {
                    "type": "string",
                    "description": "登记证书类型"
                },
                "certNumber": {
                    "type": "string",
                    "description": "证书号"
                },
                "merchantName": {
                    "type": "string",
                    "description": "商户名称"
                },
                "companyAddress": {
                    "type": "string",
                    "description": "注册地址"
                },
                "legalPerson": {
                    "type": "string",
                    "description": "法人姓名"
                },
                "periodBegin": {
                    "type": "string",
                    "description": "有效期限开始日期"
                },
                "periodEnd": {
                    "type": "string",
                    "description": "有效期限结束日期"
                },
                "certCopyUrl": {
                    "type": "string",
                    "description": "证件照片url (返回值有)"
                }
            },
            "description": "登记证书 主体为党政、机关及事业单位/其他组织，必填",
            "required": [
                "certCopy",
                "certType",
                "certNumber",
                "merchantName",
                "companyAddress",
                "legalPerson",
                "periodBegin",
                "periodEnd"
            ]
        },
        ".wxpay.ContactInfo": {
            "type": "object",
            "properties": {
                "contact_type": {
                    "type": "string",
                    "description": "超级管理员类型"
                },
                "contact_name": {
                    "type": "string",
                    "description": "超级管理员姓名"
                },
                "contact_id_card_number": {
                    "type": "string",
                    "description": "超级管理员身份证件号码"
                },
                "mobile_phone": {
                    "type": "string",
                    "description": "超级管理员手机"
                },
                "contact_email": {
                    "type": "string",
                    "description": "超级管理员邮箱"
                }
            },
            "required": [
                "contact_type",
                "contact_name",
                "contact_id_card_number",
                "mobile_phone"
            ]
        },
        ".wxpay.ContactInfoV2": {
            "type": "object",
            "properties": {
                "contactName": {
                    "type": "string",
                    "description": "超级管理员姓名"
                },
                "contactIdNumber": {
                    "type": "string",
                    "description": "超级管理员身份证件号码"
                },
                "mobilePhone": {
                    "type": "string",
                    "description": "联系手机"
                },
                "contactEmail": {
                    "type": "string",
                    "description": "联系邮箱"
                }
            },
            "required": [
                "contactName",
                "contactIdNumber",
                "mobilePhone"
            ]
        },
        ".wxpay.HealthCheckResp": {
            "type": "object",
            "properties": {
                "message": {
                    "type": "string"
                }
            },
            "description": "*\n 健康检查返回"
        },
        ".wxpay.IDCardInfo": {
            "type": "object",
            "properties": {
                "id_card_copy": {
                    "type": "string",
                    "description": "身份证人像面照片"
                },
                "id_card_national": {
                    "type": "string",
                    "description": "身份证国徽面照片"
                },
                "id_card_name": {
                    "type": "string",
                    "description": "身份证姓名"
                },
                "id_card_number": {
                    "type": "string",
                    "description": "身份证号码"
                },
                "id_card_valid_time": {
                    "type": "string",
                    "description": "身份证有效期限"
                },
                "card_url": {
                    "type": "string",
                    "description": "身份证人像面照片url (返回值有)"
                },
                "national_url": {
                    "type": "string",
                    "description": "身份证国徽面照片url (返回值有)"
                }
            },
            "required": [
                "id_card_copy",
                "id_card_national",
                "id_card_name",
                "id_card_number",
                "id_card_valid_time"
            ]
        },
        ".wxpay.IDCardInfoV2": {
            "type": "object",
            "properties": {
                "idCardCopy": {
                    "type": "string",
                    "description": "身份证人像面照片"
                },
                "idCardNational": {
                    "type": "string",
                    "description": "身份证国徽面照片"
                },
                "idCardName": {
                    "type": "string",
                    "description": "身份证姓名"
                },
                "idCardNumber": {
                    "type": "string",
                    "description": "身份证号码"
                },
                "cardPeriodBegin": {
                    "type": "string",
                    "description": "身份证有效期开始时间"
                },
                "cardPeriodEnd": {
                    "type": "string",
                    "description": "身份证有效期结束时间"
                },
                "cardCopyUrl": {
                    "type": "string",
                    "description": "身份证人像面照片url (返回值有)"
                },
                "nationalCopyUrl": {
                    "type": "string",
                    "description": "身份证国徽面照片url (返回值有)"
                }
            },
            "description": "身份证信息",
            "required": [
                "idCardCopy",
                "idCardNational",
                "idCardName",
                "idCardNumber",
                "cardPeriodBegin",
                "cardPeriodEnd"
            ]
        },
        ".wxpay.IDDocInfo": {
            "type": "object",
            "properties": {
                "id_doc_name": {
                    "type": "string",
                    "description": "证件姓名"
                },
                "id_doc_number": {
                    "type": "string",
                    "description": "证件号码"
                },
                "id_doc_copy": {
                    "type": "string",
                    "description": "证件照片"
                },
                "doc_period_end": {
                    "type": "string",
                    "description": "证件结束日期"
                },
                "copy_url": {
                    "type": "string",
                    "description": "证件照片url (返回值有)"
                }
            },
            "required": [
                "id_doc_name",
                "id_doc_number",
                "id_doc_copy",
                "doc_period_end"
            ]
        },
        ".wxpay.IDDocInfoV2": {
            "type": "object",
            "properties": {
                "idDocCopy": {
                    "type": "string",
                    "description": "证件照片"
                },
                "idDocName": {
                    "type": "string",
                    "description": "证件姓名"
                },
                "idDocNumber": {
                    "type": "string",
                    "description": "证件号码"
                },
                "docPeriodBegin": {
                    "type": "string",
                    "description": "证件有效期开始时间"
                },
                "docPeriodEnd": {
                    "type": "string",
                    "description": "证件有效期结束时间"
                },
                "docCopyUrl": {
                    "type": "string",
                    "description": "证件图片url (返回值有)"
                }
            },
            "description": "其他类型证件信息",
            "required": [
                "idDocCopy",
                "idDocName",
                "idDocNumber",
                "docPeriodBegin",
                "docPeriodEnd"
            ]
        },
        ".wxpay.IdentityInfo": {
            "type": "object",
            "properties": {
                "idDocType": {
                    "type": "string",
                    "description": "证据类型"
                },
                "idCardInfo": {
                    "$ref": "#/definitions/.wxpay.IDCardInfoV2",
                    "description": "身份证信息"
                },
                "idDocInfo": {
                    "$ref": "#/definitions/.wxpay.IDDocInfoV2",
                    "description": "其他类型证件"
                },
                "owner": {
                    "type": "boolean",
                    "description": "是否为最终受益人"
                }
            },
            "description": "经营者/法人身份证件",
            "required": [
                "idDocType",
                "owner"
            ]
        },
        ".wxpay.ImageUploadRequest": {
            "type": "object",
            "properties": {
                "image": {
                    "type": "string",
                    "description": "图片文件的二进制数据 仅支持jpg、bmp、png三种格式，大小不能超过2M"
                },
                "mch_id": {
                    "type": "string",
                    "description": "服务商商户号mchid"
                },
                "image_type": {
                    "type": "string",
                    "description": "图片文件类型,oneof='png' 'jpg' 'bmp'"
                }
            },
            "description": "*\n  上传图片请求",
            "required": [
                "image",
                "mch_id",
                "image_type"
            ]
        },
        ".wxpay.ImageUploadResponse": {
            "type": "object",
            "properties": {
                "media_id": {
                    "type": "string",
                    "description": "media_id"
                }
            }
        },
        ".wxpay.ImageUploadV2Request": {
            "type": "object",
            "properties": {
                "image": {
                    "type": "string",
                    "description": "图片文件的二进制数据 仅支持jpg、bmp、png三种格式"
                },
                "imageType": {
                    "type": "string",
                    "description": "图片文件类型"
                }
            },
            "required": [
                "image",
                "imageType"
            ]
        },
        ".wxpay.ImageUploadV2Response": {
            "type": "object",
            "properties": {
                "imageName": {
                    "type": "string",
                    "description": "文件名称"
                },
                "imageUrl": {
                    "type": "string",
                    "description": "文件oss地址"
                }
            }
        },
        ".wxpay.JSAPIPreCreateRequest": {
            "type": "object",
            "properties": {
                "app_id": {
                    "type": "string",
                    "description": "服务商app_id"
                },
                "mch_id": {
                    "type": "string",
                    "description": "服务商mch_id"
                },
                "sub_app_id": {
                    "type": "string",
                    "description": "二级商户app_id"
                },
                "sub_mch_id": {
                    "type": "string",
                    "description": "二级商户mch_id"
                },
                "description": {
                    "type": "string",
                    "description": "商品描述,min=1,max=127"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "业务订单号,min=6,max=32"
                },
                "time_expire": {
                    "type": "string",
                    "description": "交易结束时间"
                },
                "attach": {
                    "type": "string",
                    "description": "附加数据"
                },
                "settle_info": {
                    "$ref": "#/definitions/.wxpay.SettleInfo",
                    "description": "结算信息"
                },
                "amount": {
                    "$ref": "#/definitions/.wxpay.AmountInfo",
                    "description": "订单金额"
                },
                "payer": {
                    "$ref": "#/definitions/.wxpay.Payer",
                    "description": "支付者"
                },
                "brand_id": {
                    "type": "string"
                }
            },
            "description": "jsapi 预下单请求",
            "required": [
                "app_id",
                "mch_id",
                "sub_mch_id",
                "description",
                "out_trade_no",
                "time_expire",
                "amount",
                "payer",
                "brand_id"
            ]
        },
        ".wxpay.JSAPIPreCreateResponse": {
            "type": "object",
            "properties": {
                "app_id": {
                    "type": "string",
                    "description": "服务商 app_id"
                },
                "timeStamp": {
                    "type": "string",
                    "description": "时间戳"
                },
                "nonce": {
                    "type": "string",
                    "description": "随机字符串"
                },
                "package": {
                    "type": "string",
                    "description": "prepay_id"
                },
                "sign_type": {
                    "type": "string",
                    "description": "签名类型"
                },
                "pay_sign": {
                    "type": "string",
                    "description": "签名"
                },
                "expire_time": {
                    "type": "string",
                    "description": "过期时间"
                }
            },
            "description": "jsapi 预下单请求"
        },
        ".wxpay.MicroBizInfo": {
            "type": "object",
            "properties": {
                "microBizType": {
                    "type": "string",
                    "description": "小微经营类型"
                },
                "microStoreInfo": {
                    "$ref": "#/definitions/.wxpay.MicroStoreInfo",
                    "description": "门店场所"
                },
                "microMobileInfo": {
                    "$ref": "#/definitions/.wxpay.MicroMobileInfo",
                    "description": "流动性经营/便民服务"
                },
                "microOnlineInfo": {
                    "$ref": "#/definitions/.wxpay.MicroOnlineInfo",
                    "description": "线上商品服务交易"
                }
            },
            "required": [
                "microBizType"
            ]
        },
        ".wxpay.MicroMobileInfo": {
            "type": "object",
            "properties": {
                "microMobileName": {
                    "type": "string",
                    "description": "经营/服务名称"
                },
                "microMobileCity": {
                    "type": "string",
                    "description": "经营/服务所在地省市"
                },
                "microMobileAddress": {
                    "type": "string",
                    "description": "经营/服务所在地（不含省市]"
                },
                "microMobilePics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "经营/服务现场照片"
                },
                "microMobilePicsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "经营/服务现场照片 地址"
                }
            },
            "required": [
                "microMobileName",
                "microMobileCity",
                "microMobileAddress",
                "microMobilePics"
            ]
        },
        ".wxpay.MicroOnlineInfo": {
            "type": "object",
            "properties": {
                "microOnlineStore": {
                    "type": "string",
                    "description": "线上店铺名称"
                },
                "microEcName": {
                    "type": "string",
                    "description": "电商平台名称"
                },
                "microQrcode": {
                    "type": "string",
                    "description": "店铺二维码"
                },
                "microQrcodeUrl": {
                    "type": "string",
                    "description": "店铺二维码链接 (返回时有）"
                },
                "microLink": {
                    "type": "string",
                    "description": "店铺链接"
                }
            },
            "required": [
                "microOnlineStore",
                "microEcName"
            ]
        },
        ".wxpay.MicroStoreInfo": {
            "type": "object",
            "properties": {
                "microName": {
                    "type": "string",
                    "description": "门店名称"
                },
                "microAddressCode": {
                    "type": "string",
                    "description": "门店省市编码"
                },
                "microAddress": {
                    "type": "string",
                    "description": "门店地址"
                },
                "microEntrancePic": {
                    "type": "string",
                    "description": "门店门头照片"
                },
                "microEntrancePicUrl": {
                    "type": "string",
                    "description": "门店门头照片地址(返回时有）"
                },
                "microIndoorCopy": {
                    "type": "string",
                    "description": "店内环境照片"
                },
                "microIndoorCopyUrl": {
                    "type": "string",
                    "description": "店内环境照片地址"
                },
                "storeLongitude": {
                    "type": "string",
                    "description": "门店经度"
                },
                "storeLatitude": {
                    "type": "string",
                    "description": "门店纬度"
                }
            },
            "description": "门店场所",
            "required": [
                "microName",
                "microAddressCode",
                "microAddress",
                "microEntrancePic",
                "microIndoorCopy"
            ]
        },
        ".wxpay.MiniProgramInfo": {
            "type": "object",
            "properties": {
                "miniProgramAppId": {
                    "type": "string",
                    "description": "服务商小程序APPID"
                },
                "miniProgramSubAppId": {
                    "type": "string",
                    "description": "商家小程序 appid"
                },
                "miniProgramPics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "小程序截图"
                },
                "miniProgramPicsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "截图地址  (返回值有)"
                }
            }
        },
        ".wxpay.MpInfo": {
            "type": "object",
            "properties": {
                "mpAppId": {
                    "type": "string",
                    "description": "服务商公众号APPID"
                },
                "mpSubAppId": {
                    "type": "string",
                    "description": "商家公众号 appid"
                },
                "mpPics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "公众号页面截图"
                },
                "mpPicsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "截图地址  (返回值有)"
                }
            }
        },
        ".wxpay.NotifyRequest": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "description": "通知ID"
                },
                "create_time": {
                    "type": "string",
                    "description": "通知创建时间"
                },
                "event_type": {
                    "type": "string",
                    "description": "通知类型"
                },
                "resource_type": {
                    "type": "string",
                    "description": "通知数据类型"
                },
                "summary": {
                    "type": "string",
                    "description": "回调摘要"
                },
                "resource": {
                    "$ref": "#/definitions/.wxpay.Resource",
                    "description": "通知数据(需要解密)"
                }
            },
            "description": "支付通知",
            "required": [
                "resource_type",
                "resource"
            ]
        },
        ".wxpay.NotifyResponse": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "string",
                    "description": "状态码"
                },
                "message": {
                    "type": "string",
                    "description": "信息"
                }
            },
            "description": "通知响应"
        },
        ".wxpay.OperationResult": {
            "type": "object",
            "properties": {
                "message": {
                    "type": "string"
                }
            }
        },
        ".wxpay.OrganizationCertInfo": {
            "type": "object",
            "properties": {
                "organization_copy": {
                    "type": "string",
                    "description": "组织机构代码证照片"
                },
                "organization_number": {
                    "type": "string",
                    "description": "组织机构代码"
                },
                "organization_time": {
                    "type": "string",
                    "description": "组织机构代码有效期限"
                },
                "copy_url": {
                    "type": "string",
                    "description": "照片url (返回值有)"
                }
            },
            "required": [
                "organization_copy",
                "organization_number",
                "organization_time"
            ]
        },
        ".wxpay.OrganizationInfo": {
            "type": "object",
            "properties": {
                "organizationCopy": {
                    "type": "string",
                    "description": "组织机构代码证照片"
                },
                "organizationCode": {
                    "type": "string",
                    "description": "组织机构代码"
                },
                "orgPeriodBegin": {
                    "type": "string",
                    "description": "组织机构代码证有效期开始日期"
                },
                "orgPeriodEnd": {
                    "type": "string",
                    "description": "组织机构代码证有效期结束日期"
                },
                "organizationCopyUrl": {
                    "type": "string",
                    "description": "组织机构代码证照片 (返回值有)"
                }
            },
            "required": [
                "organizationCopy",
                "organizationCode",
                "orgPeriodBegin",
                "orgPeriodEnd"
            ]
        },
        ".wxpay.Payer": {
            "type": "object",
            "properties": {
                "open_id": {
                    "type": "string",
                    "description": "用户在服务商app_id下的open_id"
                },
                "sub_open_id": {
                    "type": "string",
                    "description": "用户在二级商户sub_app_id下的open_id"
                }
            },
            "required": [
                "open_id"
            ]
        },
        ".wxpay.ProfitOrderRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "商户订单编号"
                },
                "out_order_no": {
                    "type": "string",
                    "description": "商户分账单号"
                },
                "receivers": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.wxpay.ProfitReceiver"
                    },
                    "description": "分账接受方列表"
                },
                "finish": {
                    "type": "boolean",
                    "description": "分账是否结束"
                }
            },
            "description": "请求分账",
            "required": [
                "brand_id",
                "out_trade_no",
                "out_order_no",
                "receivers"
            ]
        },
        ".wxpay.ProfitOrderResponse": {
            "type": "object",
            "properties": {
                "wx_order_id": {
                    "type": "string",
                    "description": "微信分账单号"
                }
            },
            "description": "请求分账返回"
        },
        ".wxpay.ProfitReceiver": {
            "type": "object",
            "properties": {
                "type": {
                    "type": "string",
                    "description": "分账接收方类型"
                },
                "receiver_account": {
                    "type": "string",
                    "description": "分账接收方账号 类型是MERCHANT_ID时，是商户号（mch_id或者sub_mch_id）类型是PERSONAL_OPENID时，是个人openid"
                },
                "amount": {
                    "type": "integer",
                    "description": "分账金额，单位为分，只能为整数，不能超过原订单支付金额及最大分账比例金额。"
                },
                "description": {
                    "type": "string",
                    "description": "分账的原因描述，分账账单中需要体现。"
                },
                "receiver_name": {
                    "type": "string",
                    "description": "可选项，在接收方类型为个人的时可选填，若有值，会检查与 receiver_name 是否实名匹配，不匹配会拒绝分账请求"
                }
            },
            "required": [
                "type",
                "receiver_account",
                "amount",
                "description"
            ]
        },
        ".wxpay.ProfitReturnRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                },
                "out_order_no": {
                    "type": "string",
                    "description": "商户分账单号"
                },
                "out_return_no": {
                    "type": "string",
                    "description": "商户回退单号"
                },
                "return_mch_id": {
                    "type": "string",
                    "description": "回退商户号"
                },
                "amount": {
                    "type": "integer",
                    "description": "回退金额"
                },
                "description": {
                    "type": "string",
                    "description": "回退描述"
                }
            },
            "description": "请求分账回退",
            "required": [
                "brand_id",
                "out_order_no",
                "out_return_no",
                "return_mch_id",
                "amount",
                "description"
            ]
        },
        ".wxpay.ProfitReturnResponse": {
            "type": "object",
            "properties": {
                "wx_return_no": {
                    "type": "string",
                    "description": "微信回退单号"
                }
            },
            "description": "请求分账回退返回"
        },
        ".wxpay.ProfitShareFinishRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "商户ID"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "商户订单号"
                },
                "out_order_no": {
                    "type": "string",
                    "description": "分账单号"
                },
                "description": {
                    "type": "string",
                    "description": "分账描述"
                }
            },
            "description": "完结分账请求",
            "required": [
                "brand_id",
                "out_trade_no",
                "out_order_no",
                "description"
            ]
        },
        ".wxpay.ProfitShareFinishResponse": {
            "type": "object",
            "properties": {
                "wx_order_id": {
                    "type": "string",
                    "description": "微信分账单号"
                }
            },
            "description": "完结分账请求返回"
        },
        ".wxpay.RefundApplyRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "商户ID"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "商户订单号"
                },
                "out_refund_no": {
                    "type": "string",
                    "description": "商户退款单号"
                },
                "reason": {
                    "type": "string",
                    "description": "退款原因"
                },
                "amount": {
                    "type": "integer",
                    "description": "金额,min=1"
                }
            },
            "required": [
                "brand_id",
                "out_trade_no",
                "out_refund_no",
                "amount"
            ]
        },
        ".wxpay.RefundApplyResponse": {
            "type": "object",
            "properties": {
                "refund_id": {
                    "type": "string",
                    "description": "微信退款单号"
                }
            }
        },
        ".wxpay.Resource": {
            "type": "object",
            "properties": {
                "algorithm": {
                    "type": "string",
                    "description": "加密算法类型"
                },
                "ciphertext": {
                    "type": "string",
                    "description": "数据密文"
                },
                "associated_data": {
                    "type": "string",
                    "description": "附加数据"
                },
                "nonce": {
                    "type": "string",
                    "description": "随机串"
                }
            },
            "description": "加密块"
        },
        ".wxpay.SalesInfo": {
            "type": "object",
            "properties": {
                "salesScenesType": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "经营场景类型"
                },
                "bizStoreInfo": {
                    "$ref": "#/definitions/.wxpay.BizStoreInfo",
                    "description": "线下门店场景"
                },
                "mpInfo": {
                    "$ref": "#/definitions/.wxpay.MpInfo",
                    "description": "公众号场景"
                },
                "miniProgramInfo": {
                    "$ref": "#/definitions/.wxpay.MiniProgramInfo",
                    "description": "小程序场景"
                },
                "appInfo": {
                    "$ref": "#/definitions/.wxpay.AppInfo",
                    "description": "APP 场景"
                },
                "webInfo": {
                    "$ref": "#/definitions/.wxpay.WebInfo",
                    "description": "互联网场景"
                },
                "weworkInfo": {
                    "$ref": "#/definitions/.wxpay.WeworkInfo",
                    "description": "企业微信场景"
                }
            },
            "required": [
                "salesScenesType"
            ]
        },
        ".wxpay.SalesSceneInfo": {
            "type": "object",
            "properties": {
                "store_name": {
                    "type": "string",
                    "description": "店铺名称"
                },
                "store_url": {
                    "type": "string",
                    "description": "店铺链接"
                },
                "store_qr_code": {
                    "type": "string",
                    "description": "店铺二维码"
                },
                "mini_program_sub_appid": {
                    "type": "string",
                    "description": "小程序AppID"
                }
            },
            "required": [
                "store_name"
            ]
        },
        ".wxpay.SettleInfo": {
            "type": "object",
            "properties": {
                "profit_sharing": {
                    "type": "boolean",
                    "description": "是否指定分账"
                },
                "subsidy_amount": {
                    "type": "integer",
                    "description": "补差金额"
                }
            }
        },
        ".wxpay.SettlementAccountModifyRequest": {
            "type": "object",
            "properties": {
                "sub_mch_id": {
                    "type": "string",
                    "description": "特约商户号"
                },
                "account_type": {
                    "type": "string",
                    "description": "账户类型"
                },
                "account_bank": {
                    "type": "string",
                    "description": "开户银行"
                },
                "bank_address_code": {
                    "type": "string",
                    "description": "开户银行省市编码"
                },
                "bank_name": {
                    "type": "string",
                    "description": "开户银行全称（含支行）"
                },
                "bank_branch_id": {
                    "type": "string",
                    "description": "开户银行联行号"
                },
                "account_number": {
                    "type": "string",
                    "description": "银行账号"
                },
                "mch_id": {
                    "type": "string",
                    "description": "服务商商户号"
                }
            },
            "description": "结算账号修改请求",
            "required": [
                "sub_mch_id",
                "account_type",
                "account_bank",
                "bank_address_code",
                "account_number",
                "mch_id"
            ]
        },
        ".wxpay.SettlementAccountQueryRequest": {
            "type": "object",
            "properties": {
                "sub_mch_id": {
                    "type": "string",
                    "description": "特约商户号"
                },
                "mch_id": {
                    "type": "string",
                    "description": "服务商商户号"
                }
            },
            "description": "查询结算账号",
            "required": [
                "sub_mch_id",
                "mch_id"
            ]
        },
        ".wxpay.SettlementAccountQueryResponse": {
            "type": "object",
            "properties": {
                "account_type": {
                    "type": "string",
                    "description": "账户类型"
                },
                "account_bank": {
                    "type": "string",
                    "description": "开户银行"
                },
                "bank_name": {
                    "type": "string",
                    "description": "开户银行全称（含支行）"
                },
                "bank_branch_id": {
                    "type": "string",
                    "description": "开户银行联行号"
                },
                "account_number": {
                    "type": "string",
                    "description": "银行账号"
                },
                "verify_result": {
                    "type": "string",
                    "description": "汇款验证结果"
                }
            },
            "description": "结算账号查询结果"
        },
        ".wxpay.SettlementInfo": {
            "type": "object",
            "properties": {
                "settlementId": {
                    "type": "string",
                    "description": "入驻结算规则ID"
                },
                "qualificationType": {
                    "type": "string",
                    "description": "所属行业"
                },
                "qualifications": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "特殊资质图片"
                },
                "activitiesId": {
                    "type": "string",
                    "description": "优惠费率活动ID"
                },
                "activitiesRate": {
                    "type": "string",
                    "description": "优惠费率活动值"
                },
                "activitiesAdditions": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "优惠费率活动补充材料"
                },
                "qualificationsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "特殊资质图片地址 (返回值有)"
                },
                "activitiesAdditionsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "优惠费率活动补充材料 (返回值有)"
                }
            },
            "description": "结算规则",
            "required": [
                "qualificationType"
            ]
        },
        ".wxpay.SubMchAccountBalanceQueryRequest": {
            "type": "object",
            "properties": {
                "sub_mch_id": {
                    "type": "string",
                    "description": "特约商户号"
                },
                "account_type": {
                    "type": "integer",
                    "description": "账户类型 BASIC：基本账户 OPERATION：运营账户 FEES：手续费账户"
                },
                "mch_id": {
                    "type": "string",
                    "description": "服务商商户号"
                }
            },
            "description": "二级商户账户实时余额查询请求",
            "required": [
                "sub_mch_id",
                "mch_id"
            ]
        },
        ".wxpay.SubMchAccountBalanceQueryResponse": {
            "type": "object",
            "properties": {
                "sub_mch_id": {
                    "type": "string",
                    "description": "特约商户号"
                },
                "account_type": {
                    "type": "integer",
                    "description": "账户类型 BASIC：基本账户 OPERATION：运营账户 FEES：手续费账户"
                },
                "available_amount": {
                    "type": "integer",
                    "description": "可用余额"
                },
                "pending_amount": {
                    "type": "integer",
                    "description": "不可用余额"
                }
            },
            "description": "二级商户账户实时余额查询返回"
        },
        ".wxpay.SubMchApplymentQueryRequest": {
            "type": "object",
            "properties": {
                "brandId": {
                    "type": "string",
                    "description": "品牌id"
                },
                "bizNo": {
                    "type": "string",
                    "description": "业务申请id"
                }
            },
            "description": "微信特约商户进件查询请求",
            "required": [
                "brandId",
                "bizNo"
            ]
        },
        ".wxpay.SubMchApplymentQueryResponse": {
            "type": "object",
            "properties": {
                "applyNo": {
                    "type": "string",
                    "description": "申请单号"
                },
                "bizApplyNo": {
                    "type": "string",
                    "description": "业务申请单号"
                },
                "brandId": {
                    "type": "string",
                    "description": "品牌id"
                },
                "mchId": {
                    "type": "string",
                    "description": "服务商商户号"
                },
                "subMchId": {
                    "type": "string",
                    "description": "特约商户号"
                },
                "signUrl": {
                    "type": "string",
                    "description": "超级管理员签约链接"
                },
                "applyState": {
                    "type": "string",
                    "description": "申请状态"
                },
                "applyStateDesc": {
                    "type": "string",
                    "description": "申请状态描述"
                },
                "contactInfo": {
                    "$ref": "#/definitions/.wxpay.ContactInfoV2",
                    "description": "超级管理员信息"
                },
                "subjectInfo": {
                    "$ref": "#/definitions/.wxpay.SubjectInfo",
                    "description": "主体资料信息"
                },
                "businessInfo": {
                    "$ref": "#/definitions/.wxpay.BusinessInfo",
                    "description": "经营资料"
                },
                "settlementInfo": {
                    "$ref": "#/definitions/.wxpay.SettlementInfo",
                    "description": "结算规则"
                },
                "bankAccountInfo": {
                    "$ref": "#/definitions/.wxpay.AccountInfo",
                    "description": "结算银行账户"
                },
                "additionInfo": {
                    "$ref": "#/definitions/.wxpay.AdditionInfo",
                    "description": "补充材料"
                },
                "auditDetails": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.wxpay.AuditDetail"
                    },
                    "description": "驳回申请原因"
                }
            },
            "description": "微信特约商户进件查询返回"
        },
        ".wxpay.SubMchApplymentSubmitRequest": {
            "type": "object",
            "properties": {
                "bizApplyNo": {
                    "type": "string",
                    "description": "业务申请单号"
                },
                "brandId": {
                    "type": "string",
                    "description": "品牌id"
                },
                "mchId": {
                    "type": "string",
                    "description": "服务商商户号"
                },
                "contactInfo": {
                    "$ref": "#/definitions/.wxpay.ContactInfoV2",
                    "description": "超级管理员信息"
                },
                "subjectInfo": {
                    "$ref": "#/definitions/.wxpay.SubjectInfo",
                    "description": "主体资料信息"
                },
                "businessInfo": {
                    "$ref": "#/definitions/.wxpay.BusinessInfo",
                    "description": "经营资料"
                },
                "settlementInfo": {
                    "$ref": "#/definitions/.wxpay.SettlementInfo",
                    "description": "结算规则"
                },
                "bankAccountInfo": {
                    "$ref": "#/definitions/.wxpay.AccountInfo",
                    "description": "结算银行账户"
                },
                "additionInfo": {
                    "$ref": "#/definitions/.wxpay.AdditionInfo",
                    "description": "补充材料"
                }
            },
            "description": "微信特约/小微商户进件请求",
            "required": [
                "bizApplyNo",
                "brandId",
                "mchId",
                "contactInfo",
                "subjectInfo",
                "businessInfo",
                "settlementInfo"
            ]
        },
        ".wxpay.SubMchApplymentSubmitResponse": {
            "type": "object",
            "properties": {
                "applyNo": {
                    "type": "string",
                    "description": "申请编号"
                },
                "applyState": {
                    "type": "string",
                    "description": "申请状态"
                },
                "applyStateDesc": {
                    "type": "string",
                    "description": "申请状态描述"
                }
            },
            "description": "微信特约商户进件返回"
        },
        ".wxpay.SubMchWithdrawQueryRequest": {
            "type": "object",
            "properties": {
                "biz_no": {
                    "type": "string"
                },
                "sub_mch_id": {
                    "type": "string"
                }
            },
            "description": "二级商户提现查询请求",
            "required": [
                "biz_no",
                "sub_mch_id"
            ]
        },
        ".wxpay.SubMchWithdrawQueryResponse": {
            "type": "object",
            "properties": {
                "sub_mch_id": {
                    "type": "string",
                    "description": "特约商户号"
                },
                "mch_id": {
                    "type": "string",
                    "description": "服务商商户号"
                },
                "amount": {
                    "type": "integer",
                    "description": "提现金额"
                },
                "biz_no": {
                    "type": "string",
                    "description": "业务提现单号"
                },
                "remark": {
                    "type": "string",
                    "description": "提现备注"
                },
                "bank_memo": {
                    "type": "string",
                    "description": "银行附言 展现在收款银行系统中的附言 能否成功展示依赖银行系统支持"
                },
                "status": {
                    "type": "string",
                    "description": "提现单状态 AWAIT：待提交 SUBMITTED：已提交 CREATE_SUCCESS：受理成功 SUCCESS：提现成功 FAIL：提现失败 REFUND：提现退票 CLOSE：关单 INIT：业务单已创建"
                },
                "wx_withdraw_id": {
                    "type": "string",
                    "description": "微信提现单号"
                },
                "out_request_no": {
                    "type": "string",
                    "description": "系统提现单号"
                }
            },
            "description": "二级商户提现查询返回"
        },
        ".wxpay.SubMchWithdrawRequest": {
            "type": "object",
            "properties": {
                "sub_mch_id": {
                    "type": "string",
                    "description": "特约商户号"
                },
                "mch_id": {
                    "type": "string",
                    "description": "服务商商户号"
                },
                "amount": {
                    "type": "integer",
                    "description": "提现金额,min=1"
                },
                "biz_no": {
                    "type": "string",
                    "description": "业务提现单号，用作幂等,max=32"
                },
                "remark": {
                    "type": "string",
                    "description": "提现备注,max=56"
                },
                "bank_memo": {
                    "type": "string",
                    "description": "银行附言 展现在收款银行系统中的附言 能否成功展示依赖银行系统支持,max=32"
                },
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                }
            },
            "description": "二级商户提现请求",
            "required": [
                "sub_mch_id",
                "mch_id",
                "amount",
                "biz_no",
                "brand_id"
            ]
        },
        ".wxpay.SubMchWithdrawResponse": {
            "type": "object",
            "properties": {
                "out_request_no": {
                    "type": "string"
                }
            },
            "description": "二级商户提现返回",
            "required": [
                "out_request_no"
            ]
        },
        ".wxpay.SubjectInfo": {
            "type": "object",
            "properties": {
                "subjectType": {
                    "type": "string",
                    "description": "主体类型,oneof='SUBJECT_TYPE_INDIVIDUAL' 'SUBJECT_TYPE_ENTERPRISE' 'SUBJECT_TYPE_INSTITUTIONS' 'SUBJECT_TYPE_OTHERS' 'SUBJECT_TYPE_MICRO'"
                },
                "businessLicenseInfo": {
                    "$ref": "#/definitions/.wxpay.BusinessLicenseInfo",
                    "description": "营业执照"
                },
                "certificateInfo": {
                    "$ref": "#/definitions/.wxpay.CertificateInfo",
                    "description": "登记证书"
                },
                "organizationInfo": {
                    "$ref": "#/definitions/.wxpay.OrganizationInfo",
                    "description": "组织机构代码证"
                },
                "certificateLetterCopy": {
                    "type": "string",
                    "description": "单位证明函照片"
                },
                "identityInfo": {
                    "$ref": "#/definitions/.wxpay.IdentityInfo",
                    "description": "经营者/法人身份证件"
                },
                "uboInfo": {
                    "$ref": "#/definitions/.wxpay.UboInfo",
                    "description": "最终受益人信息"
                },
                "certificateLetterCopyUrl": {
                    "type": "string",
                    "description": "单位证明函照片 (返回值有)"
                },
                "microBizInfo": {
                    "$ref": "#/definitions/.wxpay.MicroBizInfo",
                    "description": "小微辅助材料"
                }
            },
            "description": "主体资料",
            "required": [
                "subjectType"
            ]
        },
        ".wxpay.TradeCloseRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "商户订单编号"
                }
            },
            "required": [
                "brand_id",
                "out_trade_no"
            ]
        },
        ".wxpay.TradeQueryRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "商户订单编号"
                }
            },
            "required": [
                "brand_id",
                "out_trade_no"
            ]
        },
        ".wxpay.TradeQueryResponse": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "品牌id"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "商户订单编号"
                },
                "time_expire": {
                    "type": "string",
                    "description": "交易结束时间"
                },
                "time_success": {
                    "type": "string",
                    "description": "交易成功时间"
                },
                "wx_trans_id": {
                    "type": "string",
                    "description": "微信支付单编号"
                },
                "attach": {
                    "type": "string",
                    "description": "商品描述"
                },
                "trade_type": {
                    "type": "string",
                    "description": "交易类型"
                },
                "trade_state": {
                    "type": "string",
                    "description": "交易状态"
                },
                "trade_state_desc": {
                    "type": "string",
                    "description": "交易状态描述"
                },
                "amount": {
                    "$ref": "#/definitions/.wxpay.AmountInfo",
                    "description": "金额信息"
                },
                "payer": {
                    "$ref": "#/definitions/.wxpay.Payer",
                    "description": "支付者"
                },
                "settle_info": {
                    "$ref": "#/definitions/.wxpay.SettleInfo",
                    "description": "结算信息"
                },
                "service_rate": {
                    "type": "integer",
                    "description": "服务费率"
                },
                "service_fee": {
                    "type": "integer",
                    "description": "服务费"
                }
            }
        },
        ".wxpay.TransferApplyRequest": {
            "type": "object",
            "properties": {
                "app_id": {
                    "type": "string",
                    "description": "直连商户号绑定的AppID"
                },
                "mch_id": {
                    "type": "string",
                    "description": "直连商户号"
                },
                "amount": {
                    "type": "integer",
                    "description": "转账金额"
                },
                "remark": {
                    "type": "string",
                    "description": "转账备注"
                },
                "open_id": {
                    "type": "string",
                    "description": "用户openID"
                },
                "user_name": {
                    "type": "string",
                    "description": "用户姓名"
                },
                "user_id_card": {
                    "type": "string",
                    "description": "用户身份证（可选）"
                },
                "biz_no": {
                    "type": "string",
                    "description": "业务单号 (用作幂等)"
                }
            },
            "description": "转账申请请求",
            "required": [
                "app_id",
                "mch_id",
                "amount",
                "remark",
                "open_id",
                "user_name",
                "user_id_card",
                "biz_no"
            ]
        },
        ".wxpay.TransferApplyResponse": {
            "type": "object",
            "properties": {
                "out_detail_no": {
                    "type": "string",
                    "description": "转账详情单号 (可用作查询转账详情)"
                }
            }
        },
        ".wxpay.TransferQueryRequest": {
            "type": "object",
            "properties": {
                "biz_no": {
                    "type": "string",
                    "description": "业务单号 (用作幂等)"
                }
            },
            "description": "转账查询请求",
            "required": [
                "biz_no"
            ]
        },
        ".wxpay.TransferQueryResponse": {
            "type": "object",
            "properties": {
                "app_id": {
                    "type": "string",
                    "description": "直连商户号绑定的AppID"
                },
                "mch_id": {
                    "type": "string",
                    "description": "直连商户号"
                },
                "amount": {
                    "type": "integer",
                    "description": "转账金额"
                },
                "remark": {
                    "type": "string",
                    "description": "转账备注"
                },
                "open_id": {
                    "type": "string",
                    "description": "用户openID"
                },
                "user_name": {
                    "type": "string",
                    "description": "用户姓名"
                },
                "user_id_card": {
                    "type": "string",
                    "description": "用户身份证"
                },
                "biz_no": {
                    "type": "string",
                    "description": "业务单号"
                },
                "out_detail": {
                    "type": "string",
                    "description": "申请单详情编号"
                },
                "status": {
                    "type": "string",
                    "description": "申请单详情状态 - AWAIT:待我方发起批量,PROCESSING:微信侧处理中,FAIL:转账失败,SUCCESS:转账成功"
                },
                "reason": {
                    "type": "string",
                    "description": "失败原因"
                }
            },
            "description": "转账查询返回"
        },
        ".wxpay.UboInfo": {
            "type": "object",
            "properties": {
                "idType": {
                    "type": "string",
                    "description": "证件类型"
                },
                "idCardCopy": {
                    "type": "string",
                    "description": "身份证人像面照片"
                },
                "idCardNational": {
                    "type": "string",
                    "description": "身份证国徽面照片"
                },
                "idDocCopy": {
                    "type": "string",
                    "description": "证件照片"
                },
                "name": {
                    "type": "string",
                    "description": "受益人姓名"
                },
                "idNumber": {
                    "type": "string",
                    "description": "证件号码"
                },
                "idPeriodBegin": {
                    "type": "string",
                    "description": "证件有效期开始时间"
                },
                "idPeriodEnd": {
                    "type": "string",
                    "description": "证件有效期结束时间"
                },
                "cardCopyUrl": {
                    "type": "string",
                    "description": "身份证人像url (返回值有)"
                },
                "cardNationalUrl": {
                    "type": "string",
                    "description": "身份证国徽像 url (返回值有)"
                },
                "docCopyUrl": {
                    "type": "string",
                    "description": "证件照片 url (返回值有)"
                }
            },
            "required": [
                "idType",
                "name",
                "idNumber",
                "idPeriodBegin",
                "idPeriodEnd"
            ]
        },
        ".wxpay.UnSplitAmountQueryRequest": {
            "type": "object",
            "properties": {
                "brand_id": {
                    "type": "string",
                    "description": "商户ID"
                },
                "out_trade_no": {
                    "type": "string",
                    "description": "商户订单号"
                }
            },
            "description": "查询订单剩余待分金额",
            "required": [
                "brand_id",
                "out_trade_no"
            ]
        },
        ".wxpay.UnSplitAmountQueryResponse": {
            "type": "object",
            "properties": {
                "unsplit_amount": {
                    "type": "integer",
                    "description": "订单剩余待分金额"
                }
            },
            "description": "查询订单剩余待分金额返回"
        },
        ".wxpay.WebInfo": {
            "type": "object",
            "properties": {
                "domain": {
                    "type": "string",
                    "description": "互联网网站域名"
                },
                "webAuthorisation": {
                    "type": "string",
                    "description": "网站授权函"
                },
                "webAppId": {
                    "type": "string",
                    "description": "应用页面截图"
                },
                "webAuthorisationUrl": {
                    "type": "string",
                    "description": "授权函地址"
                }
            },
            "required": [
                "domain"
            ]
        },
        ".wxpay.WeworkInfo": {
            "type": "object",
            "properties": {
                "subCorpId": {
                    "type": "string",
                    "description": "商家企业微信corpid"
                },
                "weworkPics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "企业微信页截图"
                },
                "weworkPicsUrl": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "企业微信页截图地址 (返回值有)"
                }
            },
            "required": [
                "subCorpId",
                "weworkPics"
            ]
        }
    }
},
            dom_id: '#swagger-ui',
            validatorUrl: null,
            presets: [
                SwaggerUIBundle.presets.apis,
                SwaggerUIStandalonePreset
            ],
            plugins: [
                SwaggerUIBundle.plugins.DownloadUrl
            ],
            layout: "StandaloneLayout"
        })

        window.ui = ui
    }
</script>
</body>

</html>